package com.example.retry.ex;

public class DataRepairNeededException extends RuntimeException {

	private static final long serialVersionUID = 1L;

	private String scenario;

	private String data;

	private Throwable cause;

	public DataRepairNeededException(String scenario, String data, Throwable cause) {
		super(String.format("业务场景：%s，待修复数据相关的入参：%s", scenario, data), cause);
	}

	public String getScenario() {
		return scenario;
	}

	public void setScenario(String scenario) {
		this.scenario = scenario;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public Throwable getCause() {
		return cause;
	}

	public void setCause(Throwable cause) {
		this.cause = cause;
	}

}